cssprovider: Speed up gtk_widget_style_get() property lookups
authorBenjamin Otte <otte@redhat.com>
Mon, 16 May 2011 15:55:50 +0000 (17:55 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 May 2011 20:17:57 +0000 (22:17 +0200)
commit8605a2a10a51d5f46e7169358199f2eeb440a0e2
tree8428075f80b3f31018b6687dc3ecebaab8f050d6
parentd3c60cc89cafae4f328f87befd4ed08d4938bf5a
cssprovider: Speed up gtk_widget_style_get() property lookups

Previously we got the list of all matching rules and then iterated it to
find the first one that had the property. Now we look while matching
rules, so we don't lookup rules that we don't need.
gtk/gtkcssprovider.c